package com.mobile.manager.service.impl;

import com.mobile.manager.dao.IChartDao;
import com.mobile.manager.service.IChartService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;

/**
 * Created by zhangdi on 16/6/7.
 */
@Service("chartService")
public class ChartServiceImpl implements IChartService {
    @Resource
    private IChartDao chartDao;
    @Override
    public List<HashMap> getOSVersionByOS(String os) {
        return this.chartDao.getOSVersionByOS(os);
    }

    @Override
    public HashMap getCountOfVersion(String version) {
        return this.chartDao.getCountOfVersion(version);
    }

    @Override
    public List<HashMap> getAllGroup() {

        return this.chartDao.getAllGroup();
    }

    @Override
    public HashMap getCountOfGroup(String group) {
        return this.chartDao.getCountOfGroup(group);
    }


}
